package com.zyy.seckill.vo;

import com.zyy.seckill.entity.Goods;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.Date;

/**
 * 商品返回对象
 *
 * @Author: zyy
 * @DateTime: 2021/10/4 9:55
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class GoodsVo extends Goods {
    //   秒杀价
    private BigDecimal seckillPrice;
    // 秒杀库存
    private Integer stockCount;
    //秒杀开始时间
    private Date startDate;
    //秒杀结束时间
    private Date endDate;
}
